import { createRouter, createWebHistory } from 'vue-router';
import Home from '../views/HomePage.vue';
import PhoneDetail from '../views/PhoneDetail.vue';
import Feedback from '../views/FeedbackView.vue';

const routes = [
    { path: '/', component: Home },
    { path: '/about', component: PhoneDetail },
    { path: '/feedback', component: Feedback}
];

const router = createRouter({
    history: createWebHistory(),
    routes,
});

export default router;
